<Willfor> [17:33:22] <Lute> I shall explain how one edits maps
<Willfor> [17:33:35] <Lute> However, for now, we won't edit maps; we'll just make them
<Willfor> [17:34:07] <Lute> Given that we have just discovered how to expand the ROM, we have more than enough free space
<Willfor> [17:34:15] <Hooktail|Bored> :o
<Willfor> [17:34:23] <Hooktail|Bored> Nice.
<Willfor> [17:35:01] <Lute> It's really simple.
<Willfor> [17:35:12] <Lute> 10 2F 0F 00
<Willfor> [17:35:22] <Lute> Always begin with this
<Willfor> [17:35:27] <Lute> This tells the ROM how many bytes to read
<Willfor> [17:35:33] <Lute> I don't exactly know how it works just yet
<Willfor> [17:35:40] <Lute> So leave it to me
<Willfor> [17:36:37] <Lute> The next two bytes are map size
<Willfor> [17:36:50] <Lute> Wait
<Willfor> [17:37:04] * Lute starts over
<Willfor> [17:37:09] <Lute> 10 2F 0F 00 0C 1F 1C
<Willfor> [17:37:18] <Lute> I already explained 10 2F 0F
<Willfor> [17:37:22] <Lute> 1F 1C is map size.
<Willfor> [17:38:44] <Lute> Are you
<Willfor> [17:38:46] <Lute> paying attention?
<Willfor> [17:38:54] <CO_Raptor|BloodPlus> Yes
<Willfor> [17:38:57] <Lute> Right
<Willfor> [17:39:14] <Lute> Darn it
<Willfor> [17:39:18] <Lute> This map was compressed
<Willfor> [17:39:22] * Lute pulls out a non-compressed map
<Willfor> [17:39:28] <Lute> Uncompressed
<Willfor> [17:40:16] * Lute looks at it
<Willfor> [17:40:17] <Lute> OK
<Willfor> [17:40:24] <Lute> This should make more sense
<Willfor> [17:40:25] <Lute> I promise
<Willfor> [17:40:32] <Lute> 10 2E 01 00 00 0F 0A
<Willfor> [17:40:36] <Lute> 00 0F 0A
<Willfor> [17:40:46] <Lute> 00 tells it to read the next 8 bytes literally
<Willfor> [17:41:09] <Lute> 0F 0A tells it to make the map 15 by 10
<Willfor> [17:41:23] <Lute> Which, by the way, is the smallest possible map size
<Willfor> [17:42:33] <Lute> In this example, we then see
<Willfor> [17:42:34] <Lute> 8C 01 8C 01 38 0C 00 
<Willfor> [17:42:59] <Lute> 8C 01 refers to line 01, tile 8C in plains.png
<Willfor> [17:43:15] <Lute> Similarly, 38 0C refers to line 0C, tile 38
<Willfor> [17:44:23] <Lute> 00 is another literal
<Willfor> [17:44:34] <Lute> So the next 8 bytes are read literally
<Willfor> [17:44:43] <Lute> And so on
<Willfor> [17:44:47] <Lute> So you do 8 bytes
<n_n> /k Willfor gtfo >:O
<Willfor> [17:44:49] <Lute> and you put down 00
<Willfor> [17:44:53] <Lute> and then do another 8 bytes

<Willfor> Map table pointer is at 008B3640
